package com.hyt.it.ogt.kq.common.gov.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @author huangyh
 */
@Component
@RefreshScope
@Getter
public class HuaweiCloudObsConfig {

    @Value("${huaweiCloudObs.endPoint}")
    private String endPoint;

    @Value("${huaweiCloudObs.accessKey}")
    private String accessKey;

    @Value("${huaweiCloudObs.secretKey}")
    private String secretKey;

    @Value("${huaweiCloudObs.bucket}")
    private String bucket;

    @Value("${huaweiCloudObs.expireSeconds}")
    private long expireSeconds;

}
